package dynamicJsonVerifyer.verifyers;

import com.alibaba.fastjson.JSONObject;
import dynamicJsonVerifyer.Const.*;

import java.util.Map;

public class StructVerifyer extends FieldTypeVerifyer{

    @Override
    protected String getType() {
        return BaseVerifyDataType.struct;
    }

    @Override
    protected boolean verifyType(JSONObject verifyMetadata, Object appointVaildData) {
        return appointVaildData instanceof JSONObject;
    }
}
